package com.example.lsn_35_butterknife;

import android.app.Activity;

public class JettButterknife {
    public static void bind(Activity activity){
       String name=activity.getClass().getName()+"_ViewBinding";
       try{
           Class<?> aClass=Class.forName(name);
           IBinder iBinder=(IBinder)aClass.newInstance();
           iBinder.bind(activity);
       }catch(Exception e){
           e.printStackTrace();
       }
    }
}
